﻿using Core.Common.DomainModel.Interfaces.Repository;
using Core.Common.DomainModel.Interfaces.Service;
using Core.Common.DomainModel.ModelEntities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.Common.Service
{
    public class UserService:IUserService
    {
        private readonly IUserRepository _iUserRepository;

        public UserService(IUserRepository iUserRepository)
        {
            _iUserRepository = iUserRepository;
        }
        public IEnumerable<UserModel> GetAll()
        {
            return _iUserRepository.GetAll();
        }
    }
}
